import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue'
import router from './router/router.js'
import store from '@/store/store';
import HasPerm from './js/hasPerm'
import echarts from 'echarts'

//引用富文本编辑器
import VueQuillEditor from 'vue-quill-editor'
//引入富文本css
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
//引入图标
import iconPicker from 'e-icon-picker';
import "e-icon-picker/dist/symbol.js"; //基本彩色图标库
import 'e-icon-picker/dist/index.css'; // 基本样式，包含基本图标
import 'element-ui/lib/theme-chalk/icon.css'; //element-ui 图标库

//滑动验证码
import SlideVerify from 'vue-monoplasty-slide-verify';


Vue.prototype.$echarts = echarts

Vue.use(ElementUI);
Vue.use(VueQuillEditor, /* { default global options } */)
Vue.config.productionTip = false
Vue.use(iconPicker, { ElementUI: true, eIcon: true, eIconSymbol: true});
Vue.use(SlideVerify);
Vue.use(HasPerm)

new Vue({
  store,
  router,
  render: h => h(App),
}).$mount('#app')
